<template>
	<view class="box-shadow p20 bg-fff  radius20">
		<view class="flex ">
			<image :src="item.avatar||''" class="h160 w160 radius10" mode="aspectFill"></image>
			<view class="flex1 flex-col als-s pl24 ov-h">
				<view class="flex ov-h">
					<view class="flex1 fs28 fw-700 u-line-1">{{item.name}}</view>
					<view class="flex fs26" v-if="item.good_rate">
						<view class="color-999 ">好评率</view>
						<view class="ml20 color-zs">{{item.good_rate}}%</view>
					</view>
				</view>
				<view class="w-max">
					<scroll-view scroll-x class="flex fs22 mt12 nowrap">
						<view class="cyan pl20 pr20 p6 radius8 mr20 dib" v-if="$list('sex')[item.sex]">
							{{$list('sex')[item.sex]}}
						</view>
						<view class="yellow pl20 pr20 p6 radius8 mr20 dib">{{item.age}}岁
						</view>
					</scroll-view>
				</view>
				<view class="flex fs24 mt16 ov-h" v-if="item.hospital">
					<view class="">常驻医院：</view>
					<view class="color-666 u-line-1 flex1">{{item.hospital}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "tchD",
		props: {
			item: {
				default: ''
			},
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">

</style>
